package cn.bluethink.eguan.model.core;

/**
 * 对象类型的动作抽象
 * 
 * @author 苏州中科蓝迪公司所有(c)2016-2021
 * @version 0.3.0
 * @brief 驿馆+产品
 * @note 修订历史： 1.giszyj@126.com于2019/01/29设计并构建初始版本v0.3.2
 */
public class EgOtAction {

    /**
     * 动作类型
     */
    private EgActionType at;

    /**
     * 操作的结果对象类型标识
     */
    private EgOType rtype;

    /**
     * 动作包括操作记录和动态：操作记录:1；动态:2；操作记录且动态1|2=3
     */
    private Integer flag;

    public EgOtAction(EgActionType at, EgOType rtype, Integer flag) {
        this.at = at;
        this.rtype = rtype;
        this.flag = flag;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public EgActionType getAt() {
        return at;
    }

    public void setAt(EgActionType at) {
        this.at = at;
    }

    public EgOType getRtype() {
        return rtype;
    }

    public void setRtype(EgOType rtype) {
        this.rtype = rtype;
    }

}
